package com.wang.springbootinit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.wang.springbootinit.model.entity.ResearchChapter;

import java.util.List;

public interface ResearchChapterService extends IService<ResearchChapter> {
    List<ResearchChapter> listBySubjectId(long subjectId);

    /**
     *
     * @param id 科目id
     * @return
     */
    List<ResearchChapter> getChapterBySubjectId(long id);
}